package com.woniuxy.dao;

import com.woniuxy.entity.Inspect;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface InspectDao {
    //根据条件查询所有的检查类型分页展示
    List<Inspect> selectInspectsByCondition(@Param("Inspect") Inspect inspect ,
                                    @Param("pageIndex") int pageIndex, @Param("pageSize") int pageSize);

    //查询总条数
    int selectInspectCount( @Param("Inspect")Inspect inspect );
}
